// index.js
import React, { Component } from 'react'
import { render } from 'react-dom'
import Bar from './components/com_a'

class Index extends Component {
  render() {
    return (
      <div>
        <Bar />
        <p>Hello page2</p>
      </div>
    )
  }
}

render(
  <Index />,
  document.querySelector('#app')
)